﻿using ApiGateway.Interface;
using ApiGateway.Model;
using RpcCacheModular;
using RpcClient.Interface;
using RpcModular;

namespace ApiGateway
{
    internal class GatewayExtendService : IRpcModular
    {
        public void Init(IUnityCollect unity)
        {
            unity.RegisterType(typeof(IClientIdentity), typeof(ClientIdentity));
            RpcClient.RpcClient.LoadModular<CacheModular>();
            RpcClient.RpcClient.LoadModular<ExtendModular>();
        }
    }
}
